package suo;

import java.beans.IntrospectionException;
import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

public interface Executor {
    public <E> List<E> query(Configuration configuration,MapperStatement mapperStatement,Object... param) throws SQLException, NoSuchFieldException, IllegalAccessException, InstantiationException, IntrospectionException, InvocationTargetException;

    void close() throws SQLException;

    Integer update(Configuration configuration, MapperStatement mapperStatement, Object[] param) throws SQLException, NoSuchFieldException, IllegalAccessException;
}
